package user_group

type UserGroupAdd struct {
	UserID int `form:"user_id" json:"user_id" binding:"required"`
	GName string `form:"g_name" json:"g_name" binding:"required,max=30"`
}

type UserGroupJoin struct {
	GId	int `form:"g_id" json:"g_id" binding:"required"`
	UserID int `form:"user_id" json:"user_id" binding:"required"`
	GName string `form:"g_name" json:"g_name" `
}

type UserGroupSearch struct {
	GName string `form:"g_name" json:"g_name" binding:"required,max=30"`
	Page int `form:"page" json:"page"`
	PageSize int `form:"page_size" json:"page_size"`
}